package test

/**
 * @author: kevin  
 * @date: 10:57 2021/4/27
 */
object Comment {
    //使用scaladoc [-d] [路径] xx.scala
    /**
     * @deprecated 过期
     * @example 输入n1 = 10 n2 = 2= return 30
     * @param n1
     * @param n2
     * @return 两数求和
     */
    def sum(n1:Int, n2:Int): Int = {
      return n1 + n2
    }
    def main(args: Array[String]): Unit = {
      println("Hello World")
    }
}
